package com.example.yoho.mvp.view.activity;

import android.app.Application;
/**
 *自定义application
 * 使用单例，可全局使用appcation级别Context
 */

public class App extends Application {

    private static App app;
    @Override
    public void onCreate() {
        super.onCreate();
        app=this;
    }
    public static App getInstance(){
        return  app;
    }
}
